package com.zhicheng.backend.service.impl;

import com.zhicheng.backend.entity.Bar;
import com.zhicheng.backend.mapper.BarMapper;
import com.zhicheng.backend.service.BarService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 功能:导航栏选项实现类
 * 作者:YukiSu
 * 日期:2024/11/7 21:03
 */
@Service
public class BarServiceImpl implements BarService {
    @Autowired
    BarMapper barMapper;
    @Override
    public void insertBar(Bar bar) {
        barMapper.insert(bar);
    }

    @Override
    public void deleteBarByName(String name) {

    }

    @Override
    public void updateBar(Bar bar) {

    }

    @Override
    public Bar selectBarByName(String name) {
        return null;
    }

    @Override
    public List<Bar> selectAll() {
        return null;
    }
}